package rullekake.facade;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import rullekake.entities.Outcome;

/**
 * Utvider AbstractFacade for Outcome.
 * Tar seg av peristence for Outcome-objekter
 *
 */
@Stateless
public class OutcomeFacade extends AbstractFacade<Outcome> {
    @PersistenceContext(unitName = "SystemeringPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public OutcomeFacade() {
        super(Outcome.class);
    }

}
